#ifndef __TEACHER_H_
#define __TEACHER_H_

#include"Student.h"
#include<stdbool.h>

struct Teacher
{
    int id;
    char Name[20];
    Stu s[10];
    int size;
};
typedef struct Teacher Teach;

void InitTeacher(Teach *t, int id, const char *name);

void AddStudent(Teach *t, int StuId, const char *Stuname);

// void RemoveStudent(Teach *t, int StuId);

// void RemoveStuByName(Teach *t, const char *name);

void RemoveStudent(Teach *t, void *data, bool(*IsEqual)(void *, void*));

Stu *FindStudent(Teach *t, void *data, bool(*IsEqual)(void *,void*));

void PrintTeach(Teach *t);

#endif